package com.study.cloud.apilog.request;

import com.study.cloud.apilog.GatewayApiLog;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.reactive.function.BodyInserter;

/**
 * @Date 2022/5/17
 * @Author Cliff
 * desc
 */
@Data
public class BodyWrapper {

    public BodyWrapper() {
    }

    public BodyWrapper(BodyInserter bodyInserter,GatewayApiLog gatewayApiLog) {
        this.gatewayApiLog = gatewayApiLog;
        this.bodyInserter = bodyInserter;
    }

    private GatewayApiLog gatewayApiLog;
    private BodyInserter bodyInserter;
    private String requestBody;
}
